<template>
  <div id="app">
    <el-container class="home-container">
      <el-aside class="el-aside" width="200px">
        <router-view class="left" name="aside"></router-view>
      </el-aside>
      <el-container>
        <el-header class="el-header">Header</el-header>
        <el-main class="el-main">
          <router-view/>
        </el-main>
        <el-footer class="el-footer">©广东教育出版社 出版融合中心技术支持</el-footer>
      </el-container>
    </el-container>
  </div>

</template>
<script>

</script>
<style >
#app{
  margin: 0;
  padding: 0;
}
.home-container{

}
.el-main{

}
.el-header, .el-footer {
  background-color: #B3C0D1;
  color: #333;
  text-align: center;
  line-height: 60px;
}

.el-aside {
  background-color: #D3DCE6;
  color: #333;
  text-align: center;
  line-height: 200px;
}

.el-main {
  background-color: #E9EEF3;
  color: #333;
  text-align: center;
  line-height: 160px;
}

body > .el-container {
  margin-bottom: 40px;
}

.el-container:nth-child(5) .el-aside,
.el-container:nth-child(6) .el-aside {
  line-height: 260px;
}

.el-container:nth-child(7) .el-aside {
  line-height: 320px;
}
</style>
